﻿using System;
using System.Windows.Forms;

namespace Oplug.CoolTower
{
    public partial class FormDataGrid : Form
    {
        private object dataSource { get; set; }
        public FormDataGrid(object _dataSource)
        {
            InitializeComponent();
            dataSource = _dataSource;
        }

        private void FormDataGrid_Load(object sender, EventArgs e)
        {
            dataGridViewM.DataSource = dataSource;
        }
    }
}
